From f0bc8f23e46be39c48e02fae11a7c52aad39bb2c Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 16 Oct 2002 05:36:27 +0000 Subject: [PATCH] Icon_descr is the description, not the icon text. Duh! --- gpsbabel/gpsutil.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gpsbabel/gpsutil.c b/gpsbabel/gpsutil.c index 79103d763..19e1a06e6 100644 --- a/gpsbabel/gpsutil.c +++ b/gpsbabel/gpsutil.c @@ -70,8 +70,7 @@ data_read(void) wpt_tmp->position.longitude.degrees = ilon + (lon - ilon)*(100.0/60.0); ilat = (int)(lat); wpt_tmp->position.latitude.degrees = ilat + (lat - ilat) * (100.0/60.0); - wpt_tmp->icon_descr = xstrdup(icon); - + wpt_tmp->icon_descr = mag_find_descr_from_token(icon); waypt_add(wpt_tmp); } } -- 2.30.2